package com.xxxx.persistence.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;

/**
 * @ClassName: OrderDO
 * @Description: 订单持久层实体类
 * @Author: ZhouWei
 * @Date: 2023-4-15 - 22:02
 */
@Data
@TableName("t_order")
public class OrderDO implements Serializable {

    @TableId(value = "pk_id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "price")
    private Double price;
}
